package com.dy.drp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_cargo")
public class Cargo extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cargo_id", type = IdType.AUTO)
    private Long cargoId;

    private String cargoSerial;

    private String cargoName;

    private String cargoFactory;

    private String cargoType;

    @TableField("cargo_buyMoney")
    private Long cargoBuymoney;

    @TableField("go_saleMoney")
    private Long goSalemoney;

    private Long cargoNumber;

    private String cargoImg;


}
